package com.west_traveler.entity.entity_category.entity_category_second;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * Created by Administrator on 12/7 0007.
 */

public class Entity_Cate_Fra implements Parcelable{

    private Entity_Cate_Fra_tags tags;
    private Entity_Cate_Fra_CategoryContents categoryContents;
    private Entity_Cate_Fra_focusImages focusImages;
    private boolean hasRecommendedZones;

    protected Entity_Cate_Fra(Parcel in) {
        hasRecommendedZones = in.readByte() != 0;
    }

    public static final Creator<Entity_Cate_Fra> CREATOR = new Creator<Entity_Cate_Fra>() {
        @Override
        public Entity_Cate_Fra createFromParcel(Parcel in) {
            return new Entity_Cate_Fra(in);
        }

        @Override
        public Entity_Cate_Fra[] newArray(int size) {
            return new Entity_Cate_Fra[size];
        }
    };

    public Entity_Cate_Fra_tags getTags() {
        return tags;
    }

    public void setTags(Entity_Cate_Fra_tags tags) {
        this.tags = tags;
    }

    public Entity_Cate_Fra_CategoryContents getCategoryContents() {
        return categoryContents;
    }

    public void setCategoryContents(Entity_Cate_Fra_CategoryContents categoryContents) {
        this.categoryContents = categoryContents;
    }

    public Entity_Cate_Fra_focusImages getFocusImages() {
        return focusImages;
    }

    public void setFocusImages(Entity_Cate_Fra_focusImages focusImages) {
        this.focusImages = focusImages;
    }

    public boolean isHasRecommendedZones() {
        return hasRecommendedZones;
    }

    public void setHasRecommendedZones(boolean hasRecommendedZones) {
        this.hasRecommendedZones = hasRecommendedZones;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeByte((byte) (hasRecommendedZones ? 1 : 0));
    }
}
